//# sourceURL=welcome.js
layui.element.on('tab(login-user-tabs)', function () {
    if (!$('#welcome').attr('hasRender')) {
        $('#welcome-username').html(login_user_infos.user_info.username);
        $('#welcome-lastLogin').html(login_user_infos.user_info.lastLogin);
        $('#welcome-loginIp').html(login_user_infos.user_login_ip);
        $('#welcome').attr('hasRender', true);
    }

    $('.welcome-testError-btn').click(function () {
        $.get('/test/error/info?type=action', function (data) {

        })
    });
    $('.welcome-testErrorMarkdown-btn').click(function () {
        $.get('/test/error/info?type=markdown', function (data) {

        })
    });
});